set path=%cd%
echo %path%

md %path%\target
md %path%\target\server1
md %path%\target\server2

copy %path%\eureka-server\target\eureka-server-0.0.1-SNAPSHOT.jar %path%\target
copy %path%\eureka-server2\target\eureka-server2-1.0-SNAPSHOT.jar %path%\target
copy %path%\eureka-server3\target\eureka-server3-1.0-SNAPSHOT.jar %path%\target


copy %path%\Oauth2-server\target\Oauth2-server-1.0-SNAPSHOT.jar %path%\target\server1
copy %path%\User-server\target\User-server-0.0.1-SNAPSHOT.jar %path%\target\server1
copy %path%\resource-server\target\resource-server-0.0.1-SNAPSHOT.jar %path%\target\server1
copy %path%\gateway\target\gateway-0.0.1-SNAPSHOT.jar %path%\target\server1

copy %path%\approve-server\target\approve-server-0.0.1-SNAPSHOT.jar %path%\target\server2
copy %path%\chance-server\target\chance-server-0.0.1-SNAPSHOT.jar %path%\target\server2
copy %path%\customer-server\target\customer-server-0.0.1-SNAPSHOT.jar %path%\target\server2
copy %path%\handover-server\target\handover-server-0.0.1-SNAPSHOT.jar %path%\target\server2
copy %path%\report-server\target\report-server-0.0.1-SNAPSHOT.jar %path%\target\server2
pause